package com.xiemingtian.navdemo

import android.support.v7.app.AppCompatActivity
import android.os.Bundle

class SimpleActivity : AppCompatActivity() {

    override fun onCreate(savedInstanceState: Bundle?) {
        super.onCreate(savedInstanceState)
        setContentView(R.layout.activity_simple)

        val host = SimpleFragment()
        supportFragmentManager.beginTransaction()
                .replace(R.id.container,host)
                .commit()
    }
}
